<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title>周报管理</title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
	<meta name="decorator" content="ani"/>
	<link href="${ctxStatic}/plugin/jquery-weui/lib/weui.min.css" type="text/css"
		  rel="stylesheet"/>
	<link href="${ctxStatic}/plugin/jquery-weui/lib/weui.css" type="text/css"
		  rel="stylesheet"/>
	<link href="${ctxStatic}/plugin/jquery-weui/css/jquery-weui.css"
		  type="text/css" rel="stylesheet"/>
	<link href="${ctxStatic}/common/css/style.css"
		  type="text/css" rel="stylesheet"/>
	<style>
		.main{
			/*text-align: center; !*让div内部文字居中*!
			background-color: #fff;
			border-radius: 20px;
			width: 300px;
			height: 350px;
			margin: auto;
			position: absolute;
			top: 0;*/
			left: 0;
			right: 0;
			bottom: 0;
		}
		hr{
			height:1px;
			border:none;
			border-top:1px solid #CECECE;
			margin-top: 15px;
			margin-bottom: 10px;
			margin-left: 10px;
			margin-right: 10px;
		}
	</style>
</head>
<body>ww
<body class="hideScroll">
<div class="weui_panel">
	<sys:message content="${message}"/>
	<c:forEach items="${list}" var="weekReport" varStatus="status">
		<div class="" style="width: 100%;margin-top: 0px">
			<c:if test="${status.index==0}"><hr/></c:if>
			<c:if test="${status.index!=0}"><hr style="margin-top:-5px;"/></c:if>
			<div class="weui_panel_bd" style="margin-top:-5px;">
				<div class="weui_media_box weui_media_text " style="padding: 1px;margin-bottom: 23px;">
					<ul class="weui_media_info" style="margin-left: 10px;margin-right: 10px;margin-bottom: 10px;">
						<font style="line-height:1.5;color: #000000;font-size: 15px">
								${weekReport.content}
						</font>
						<div style="margin-top: 5px;margin-bottom: 10px;font-size: 13px;">
							<li class="weui_media_info_meta pull-left" >${weekReport.createBy.name}</li>

							<li class="weui_media_info_meta pull-right" style="margin: 0px;padding: 0px">
								<fmt:formatDate value="${weekReport.startTime}" type="both"
												pattern="yyyy.MM.dd"/>
							</li>
							<li class="weui_media_info_meta pull-right" style="margin: 0px;padding: 0px">
								<p>~</p>
							</li>
							<li class="weui_media_info_meta pull-right" style="margin: 0px;padding: 0px">
								<fmt:formatDate value="${weekReport.endTime}" type="both"
												pattern="yyyy.MM.dd"/>
							</li>
						</div>
					</ul>

				</div>
			</div>
		</div>
	</c:forEach>
</div>
</body>
</body>
</html>